package com.java.mapper;

import java.util.List;

import com.java.entity.Returns;

public interface ReturnsMapper {
    int deleteByPrimaryKey(Integer returnid);

    int insert(Returns record);

    int insertSelective(Returns record);

    Returns selectByPrimaryKey(Integer returnid);

    int updateByPrimaryKeySelective(Returns record);

    int updateByPrimaryKey(Returns record);
    
    
    List<Returns> all();
    
    List<Returns> userReturn(Integer userid);
}